import { Module } from "@nestjs/common";
import { RoleService } from "./role.service";
import { RoleController } from "./role.controller";
import { TypeOrmModule } from "@nestjs/typeorm";
import { Role } from "@/modules/role/entities/role.entity";
import { User } from "@/modules/user/entities/user.entity";
import { UserRole } from "@/modules/user-role/entities/user-role.entity";


@Module({
    imports: [
        TypeOrmModule.forFeature([Role, User, UserRole]),
    ],
    controllers: [RoleController],
    providers: [RoleService]
})
export class RoleModule {
}
